package com.msc.cili.web.utils;

import com.msc.cili.security.shrio.account.AccountProfile;
import org.apache.shiro.SecurityUtils;

public class ShiroUtil {

    public static AccountProfile getProfile() {

        return (AccountProfile) SecurityUtils.getSubject().getPrincipal();
    }

}
